<?php
namespace app\admin\serviceImp;
use app\admin\serviceI\LoginInter;
use app\admin\daoimp\LoginDaoImp;
use app\admin\pojo\Logins;
class LoginImp implements  LoginInter{
    /**
     * {@inheritDoc}
     * @see \app\admin\serviceI\LoginInter::login()
     */
   public  $logindao;
  public function __construct(){
      $this->logindao=new LoginDaoImp();
  }
    public function login(Logins $login)
    {
        // 登录操作
       $res= $this->logindao->login($login);
       return $res;
        
    }

    /**
     * {@inheritDoc}
     * @see \app\admin\serviceI\LoginInter::loginout()
     */
    public function loginout()
    {
        // 退出操作
        
    }

    
}